﻿using UnityEngine;
using System.Collections;

public class OnScreenLevelUp : OnScreenMessage
{
    private int level;

    public int Level
    {
        get { return level; }
        set { level = value; }
    }

    // Use this for initialization
    protected override void Start()
    {
        base.Start();

    }

    // Update is called once per frame
    protected override void Update()
    {
        base.Update();
    }

    protected override void printMessage()
    {
        GUI.Label(new Rect(Screen.width / 2 - 100, Screen.height / 2 - 50, 200, 100), "Level " + Level + " !", style);
    }
}
